<script lang="ts" setup>
import type { VbenFormSchema } from '@vben/common-ui';
import type { BasicOption } from '@vben/types';

import { computed, markRaw } from 'vue';

import { AuthenticationLogin, SliderCaptcha, z } from '@vben/common-ui';
import { $t } from '@vben/locales';

import { useAuthStore } from '#/store';

defineOptions({ name: 'Login' });

const authStore = useAuthStore();


const formSchema = computed((): VbenFormSchema[] => {
  return [ ];
});
</script>

<template>
  <AuthenticationLogin
    sub-title="点击登录按钮进行登录"
    :show-remember-me="false"
    :show-forget-password="false"
    :show-qrcode-login="false"
    :show-code-login="false"
    :show-third-party-login="false"
    :form-schema="formSchema"
    :loading="authStore.loginLoading"
    @submit="authStore.loginRedirect"
  />
</template>
